package com.bluemedia.bookproject;

import com.bluemedia.bookproject.pages.*;
import example.ui.page.*;
import org.vaadin.navigator7.WebApplication;

import javax.annotation.PostConstruct;

/**
 * Created by IntelliJ IDEA.
 * User: Marek Rucki
 * Date: 12.04.11
 * Time: 11:15
 */
public class BookprojestWebApplication  extends WebApplication {

    public BookprojestWebApplication() {
        System.out.println("kontruktor BookprojestWebApplication");

        // We need to do that in the constructor (and not later), to ensure that the init method in the ancestor has the pages.
        registerPages(new Class[] {
            SimpleContentPage.class,
            SimpleNextPage.class,
            ProductPage.class,
            BookEditPage.class,
            TextFieldSample.class
        });
    }
}